package com.example.myapplication.ui.list;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.example.myapplication.repository.data.File;

import java.util.ArrayList;
import java.util.List;

public class ListViewModel extends ViewModel {
    private final MutableLiveData<List<File>> fileList;

    public ListViewModel() {
        List<File> list = new ArrayList<>();
        fileList = new MutableLiveData<>();
        fileList.setValue(list);
    }

    public MutableLiveData<List<File>> getFileList() {
        return fileList;
    }
}
